package com.summer.core.web.bean;

import java.util.Date;

import javax.persistence.Entity;

import com.summer.core.common.BeanName;
import com.summer.core.entity.BaseBean;

/**
 * 后台管理员
 * @author wwwlike
 *
 */
@Entity
@BeanName("后台管理帐户")
public class Admin extends BaseBean{

	private static final long serialVersionUID = -8998251795046308293L;
	private String name;
	private String cnName;
	private String password;
	private String ip;
	private Date lastLoginTime;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCnName() {
		return cnName;
	}
	public void setCnName(String cnName) {
		this.cnName = cnName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public Date getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	} 

}
